package com.example.demo.config.security;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "security.jwt")
public class JwtProperties {

    /**
     * 签名密钥
     */
    private String secret = "blockasset-secret-key-32-bytes!!";

    /**
     * 过期时间（分钟）
     */
    private long expiresMinutes = 120;
}
